#include<bits/stdc++.h>

using namespace std;

main() {
    int a, b, c;
    cin >> a >> b >> c;
    if (a <= b && b <= c)printf("%d %d %d", a, b, c);
    else if (a <= c && c <= b)printf("%d %d %d", a, c, b);
    else if (b <= a && a <= c)printf("%d %d %d", b, a, c);
    else if (b <= c && c <= a)printf("%d %d %d", b, c, a);
    else if (c <= a && a <= b)printf("%d %d %d", c, a, b);
    else printf("%d %d %d", c, b, a);
}
